package org.hxyjs.dao;

import org.hxyjs.entity.Cheforder;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface CheforderDao {
    public List<Cheforder> getCheforderByPage(PageInfo pageInfo) throws Exception;

    public List<Cheforder> getAllCheforders() throws Exception;

    public Cheforder getCheforderByCuno(String cuno) throws Exception;

    //增删改的返回值都是整数
    Integer deleteCheforderByCuno(String cuno) throws Exception;

    Integer updateCheforderByCuno(Cheforder cheforder) throws Exception;

    Integer addCheforder(Cheforder cheforder) throws Exception;




}
